.PHONY:all
all:server client

Lib = -ljsoncpp

server:1my_server.cc
	g++ -o $@ $^ -std=c++11 $(Lib)
client:1my_client.cc
	g++ -o $@ $^ -std=c++11 $(Lib)

.PHONY:clean
clean:
	rm -rf server client